A25 - Number of Routes
提出
code: python
h, w = map(int, input().split())
dp = [None * w for _ in range(h)] print(dp)
解答
code: python
h, w = map(int, input().split())
dp = [0 * (w+1) for _ in range(h+1)] for i in range(h):
for j in range(w):
if i == 0 and j == 0:
else:
# '#' だったら 0 のまま
if i >= 1 and ci-1j == '.': if j >= 1 and cij-1 == '.':